﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xss.Message;

namespace Xss.Data
{
    /// <summary>
    /// 数据响应接口
    /// </summary>
    public interface IAdoResponse : IDisposable
    {
        /// <summary>
        /// 请求结果
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <returns></returns>
        object Result { get; set; }

        /// <summary>
        /// 返回的消息
        /// </summary>
        MessageContext Message { get; set; }

        /// <summary>
        /// 数据请求
        /// </summary>
        IAdoRequest Request { get; set; }
        
    }
}
